package com.augurit.gzcgwsp.qyzz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.augurit.gzcgwsp.qyzz.dao.YwRqQyzzFinalEquipmentDao;
import com.augurit.gzcgwsp.qyzz.entity.YwRqRyzzFinalEquipment;
import com.augurit.gzcgwsp.qyzz.service.IYwRqQyzzFinalEquipmentService;

/**
 * 
 *  企业资质--企业主要设备与检测设备service实现类
 * @author 张军
 *
 */
@Service
@Transactional
public class YwRqQyzzAzFinalEquipmentServiceImpl  implements IYwRqQyzzFinalEquipmentService {
	@Autowired
	private YwRqQyzzFinalEquipmentDao ywRqQyzzFinalAzWxRyZsDao;


    public void saveEntity(YwRqRyzzFinalEquipment entity) {
        ywRqQyzzFinalAzWxRyZsDao.save(entity);
        
    }


    public List<YwRqRyzzFinalEquipment> getEquipments(long qyid, String acceptNo) {
        return ywRqQyzzFinalAzWxRyZsDao.getEquipments(qyid,acceptNo);
    }


    public void delete(YwRqRyzzFinalEquipment entity) {
        ywRqQyzzFinalAzWxRyZsDao.delete(entity);
        
    }
	
	 
}
